package net.togogo.bean;

import java.io.Serializable;
import java.util.Date;

public class ESku implements Serializable {
    private Integer id;

    private Integer productId;

    private Integer colorId;

    private String size;

    private Double deliveFee;

    private Double skuPrice;

    private Integer stockInventory;

    private Integer skuUpperLimit;

    private String location;

    private String skuImg;

    private Integer skuSort;

    private String skuName;

    private Double marketPrice;

    private Date createTime;

    private Date updateTime;

    private String createUserId;

    private String updateUserId;

    private Integer lastStatus;

    private Integer skuType;

    private Integer sales;

    private static final long serialVersionUID = 1L;

    public ESku(Integer id, Integer productId, Integer colorId, String size, Double deliveFee, Double skuPrice, Integer stockInventory, Integer skuUpperLimit, String location, String skuImg, Integer skuSort, String skuName, Double marketPrice, Date createTime, Date updateTime, String createUserId, String updateUserId, Integer lastStatus, Integer skuType, Integer sales) {
        this.id = id;
        this.productId = productId;
        this.colorId = colorId;
        this.size = size;
        this.deliveFee = deliveFee;
        this.skuPrice = skuPrice;
        this.stockInventory = stockInventory;
        this.skuUpperLimit = skuUpperLimit;
        this.location = location;
        this.skuImg = skuImg;
        this.skuSort = skuSort;
        this.skuName = skuName;
        this.marketPrice = marketPrice;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createUserId = createUserId;
        this.updateUserId = updateUserId;
        this.lastStatus = lastStatus;
        this.skuType = skuType;
        this.sales = sales;
    }

    public ESku() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getColorId() {
        return colorId;
    }

    public void setColorId(Integer colorId) {
        this.colorId = colorId;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size == null ? null : size.trim();
    }

    public Double getDeliveFee() {
        return deliveFee;
    }

    public void setDeliveFee(Double deliveFee) {
        this.deliveFee = deliveFee;
    }

    public Double getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(Double skuPrice) {
        this.skuPrice = skuPrice;
    }

    public Integer getStockInventory() {
        return stockInventory;
    }

    public void setStockInventory(Integer stockInventory) {
        this.stockInventory = stockInventory;
    }

    public Integer getSkuUpperLimit() {
        return skuUpperLimit;
    }

    public void setSkuUpperLimit(Integer skuUpperLimit) {
        this.skuUpperLimit = skuUpperLimit;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getSkuImg() {
        return skuImg;
    }

    public void setSkuImg(String skuImg) {
        this.skuImg = skuImg == null ? null : skuImg.trim();
    }

    public Integer getSkuSort() {
        return skuSort;
    }

    public void setSkuSort(Integer skuSort) {
        this.skuSort = skuSort;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName == null ? null : skuName.trim();
    }

    public Double getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(Double marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public Integer getLastStatus() {
        return lastStatus;
    }

    public void setLastStatus(Integer lastStatus) {
        this.lastStatus = lastStatus;
    }

    public Integer getSkuType() {
        return skuType;
    }

    public void setSkuType(Integer skuType) {
        this.skuType = skuType;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productId=").append(productId);
        sb.append(", colorId=").append(colorId);
        sb.append(", size=").append(size);
        sb.append(", deliveFee=").append(deliveFee);
        sb.append(", skuPrice=").append(skuPrice);
        sb.append(", stockInventory=").append(stockInventory);
        sb.append(", skuUpperLimit=").append(skuUpperLimit);
        sb.append(", location=").append(location);
        sb.append(", skuImg=").append(skuImg);
        sb.append(", skuSort=").append(skuSort);
        sb.append(", skuName=").append(skuName);
        sb.append(", marketPrice=").append(marketPrice);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", lastStatus=").append(lastStatus);
        sb.append(", skuType=").append(skuType);
        sb.append(", sales=").append(sales);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}